﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL;
using Model;

using System.Data.SqlClient;

namespace BLL
{
  public  class WagonBll
    {
      WagonDal dal = new WagonDal();


      public List<Wagon> Show(params SqlParameter[] paramters)
      {
          return dal.Show(paramters);
      }
      /// <summary>
      ///  反填
      /// </summary>
      /// <param name="id"></param>
      /// <returns></returns>
      public Wagon Back(int id)
      {
          return dal.Back(id);
      }
      public List<Wagon> ShowWg()
      {
          return dal.Show().ToList();
      }
    }
}
